﻿using CSharpLibs.Annotations;

namespace System.IO
{
	[Builtin]
	public enum FileMode 
	{
		CreateNew = 1, 
		Create = 2, 
		Open = 3, 
		OpenOrCreate = 4, 
		Truncate = 5, 
		Append = 6
	};

	[Builtin]
	public enum FileAccess 
	{ 
		Read = 1, 
		Write = 2, 
		ReadWrite = 3 
	};

	[Builtin]
	public enum FileShare 
	{ 
		None = 0, 
		Read = 1, 
		Write = 2, 
		ReadWrite = 3, 
		Delete = 4 
	};

	[Builtin]
	public enum SeekOrigin 
	{ 
		Begin = 0, 
		Current = 1, 
		End = 2 
	};

	[Builtin]
	public enum SearchOption 
	{ 
		TopDirectoryOnly = 0, 
		AllDirectories = 1
	};
}

